package xiangmu.schoolpaper.service.impl;

import xiangmu.schoolpaper.mapper.TeacherSelfPaperScoreMapper;
import xiangmu.schoolpaper.pojo.DTO.TeacherSelfPaperScoreDTO;
import xiangmu.schoolpaper.service.TeacherSelfPaperScoreService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class TeacherSelfPaperScoreServiceImpl implements TeacherSelfPaperScoreService {

    private final TeacherSelfPaperScoreMapper teacherSelfPaperScoreMapper;

    @Override
    public TeacherSelfPaperScoreDTO getTeacherSelfPaperScore(String studentId) {
        return teacherSelfPaperScoreMapper.getTeacherSelfPaperScore(studentId);
    }
}